package com.igeekhome.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author Romeo
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SWarehouse {
    private Integer warehouseId;

    private String warehouseName;

    private String networkName;

    private Integer area;

    private Integer nodeNetworkId;

    private String principal;

    private String contactPhone;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;

    private Integer status;

}